
#include "stdafx.h"
#ifdef _SKEYMINI
#include "resource.h"
#include "VirtualSimple2.h"
#include "TimerUser.h"

CVirtualSimple2::CVirtualSimple2()
{
}

CVirtualSimple2::~CVirtualSimple2()
{
}

BOOL CVirtualSimple2::Create(CSKEYBid* pParentWnd)
{
	m_Owner = pParentWnd; return OnInitDialog();
}

void CVirtualSimple2::setCtrlSetButtons(intptr_t def, bool hookDataAvailable)
{
	CMainPanelGetter main(this); if (!main.hasPanel()) return;
	main.PostMainMessage(WM_PadSimple2_setCtrlSetButtons, def, hookDataAvailable);
}

void CVirtualSimple2::setCtrlDoTimer(intptr_t enableMask)
{
	CMainPanelGetter main(this); if (!main.hasPanel()) return;
	main.PostMainMessage(WM_PadSimple2_setCtrlDoTimer2, enableMask);
}

void CVirtualSimple2::setCtrlEnableNext(bool enable)
{
	CMainPanelGetter main(this); if (!main.hasPanel()) return;
	main.PostMainMessage(WM_PadSimple2_setCtrlEnableNext, enable);
}

IMPLEMENT_VDLG_TIMER_EVENT(CVirtualSimple2)
{
	EVENT_CHECK_TIMER(m_timer, TimerPadSimple2 + 1);
	DoTimer();
}

#endif
